-- GENERATED SPELL FOR [Gor'mul] --


function spell0_2792(pUnit, Event) --@Guile of the Raptor,Self--
pUnit:FullCastSpellOnTarget(4153,pUnit)
pUnit:RegisterEvent('Sorts_2792', 33000, 1)
end

function Sorts_2792(pUnit, Event)
local choix_sorts_2792 = math.random(0, 0)
if choix_sorts_2792 == 0 then
pUnit:RegisterEvent('spell0_2792', 1, 1)
end
end

function mob2792_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2792', math.random(1500, 3000), 1)
end

function mob2792_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2792_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2792_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2792, 1, 'mob2792_Action')
RegisterUnitEvent(2792, 2, 'mob2792_Leave')
RegisterUnitEvent(2792, 3, 'mob2792_Kill')
RegisterUnitEvent(2792, 4, 'mob2792_Die')
